import Layout from '@/layout'

export default {
    path: '/xueke',
    name: 'subject',
    component: Layout,
    meta: { title: '学科管理' },
    redirect: '/xueke_xueke',
    children: [
        {
            path: '/xueke_xueke',
            name: 'subject-list',
            component: () => import('@/views/xueke/xueke'),
            meta: { title: '学科' }
        },
        {
            path: '/xueke_mulu/:id?/:name?',
            name: 'subject-menu',
            component: () => import('@/views/xueke/mulu'),
            meta: { title: '目录' }
        },
        {
            path: '/xueke_tag/:id?/:name?',
            name: 'subject-tags',
            component: () => import('@/views/xueke/tag'),
            meta: { title: '标签' }
        },
    ]
}